﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using Model.Entities;

namespace Model.Mappings
{
    public partial class RMBT_MOBILE_STATION_Map : SubclassMap<RMBT_MOBILE_STATION>
    {
        public RMBT_MOBILE_STATION_Map()
        {
            Table("RMBT_MOBILE_STATION");
            KeyColumn("MFID");
            Map(x => x.MCSTYPE).Not.Nullable().Length(2);
            Map(x => x.MCSDTYPE).Nullable().Length(2);
            Map(x => x.STATUS).Nullable().Length(2);
            Map(x => x.ISLINK).Nullable().Length(2);
            Map(x => x.INTEGRATEDCO).Not.Nullable().Length(100);
            Map(x => x.CARLICENSE).Not.Nullable().Length(40);
            Map(x => x.ENGINENUM).Not.Nullable().Length(40);
            Map(x => x.REMOCONTIP).Not.Nullable().Length(30);
            Map(x => x.REMOCONTPORT).Not.Nullable().Precision(5).Scale(0);
            Map(x => x.REMARK).Not.Nullable().Length(512);
            DoEditableMappings();
        }
    }
}
